Optimal. Leaf size=34 \[ \frac{\tanh ^{-1}\left (\frac{x \sqrt{b-a c}}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b-a c}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0308608, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{\tanh ^{-1}\left (\frac{x \sqrt{b-a c}}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b-a c}} \]
Antiderivative was successfully verified.
[In] Int[(a - (b - a*c)*x^2)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 4.85595, size = 29, normalized size = 0.85 \[ \frac{\operatorname{atanh}{\left (\frac{x \sqrt{- a c + b}}{\sqrt{a}} \right )}}{\sqrt{a} \sqrt{- a c + b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a-(-a*c+b)*x**2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0176621, size = 36, normalized size = 1.06 \[ \frac{\tan ^{-1}\left (\frac{x \sqrt{a c-b}}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{a c-b}} \]
Antiderivative was successfully verified.
[In] Integrate[(a - (b - a*c)*x^2)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 34, normalized size = 1. \[{1\arctan \left ({x \left ( ac-b \right ){\frac{1}{\sqrt{a \left ( ac-b \right ) }}}} \right ){\frac{1}{\sqrt{a \left ( ac-b \right ) }}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a-(-a*c+b)*x^2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a*c - b)*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.222538, size = 1, normalized size = 0.03 \[ \left [\frac{\log \left (\frac{2 \,{\left (a^{2} c - a b\right )} x + \sqrt{-a^{2} c + a b}{\left ({\left (a c - b\right )} x^{2} - a\right )}}{{\left (a c - b\right )} x^{2} + a}\right )}{2 \, \sqrt{-a^{2} c + a b}}, \frac{\arctan \left (\frac{\sqrt{a^{2} c - a b} x}{a}\right )}{\sqrt{a^{2} c - a b}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a*c - b)*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.620811, size = 66, normalized size = 1.94 \[ - \frac{\sqrt{- \frac{1}{a \left (a c - b\right )}} \log{\left (- a \sqrt{- \frac{1}{a \left (a c - b\right )}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{a \left (a c - b\right )}} \log{\left (a \sqrt{- \frac{1}{a \left (a c - b\right )}} + x \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a-(-a*c+b)*x**2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.209454, size = 49, normalized size = 1.44 \[ \frac{\arctan \left (\frac{a c x - b x}{\sqrt{a^{2} c - a b}}\right )}{\sqrt{a^{2} c - a b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a*c - b)*x^2 + a),x, algorithm="giac")
[Out]